tools/libxc: Set HVM_PARAM_CONSOLE_EVTCHN during restore
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 23 Apr 2015 02:49:18 +0000 (22:49 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 May 2015 11:30:17 +0000 (12:30 +0100)
commit125c3c05a9a25e1d00405c08fda432b0ce5606b1
tree7cde5279dbc1fe4a214dcad1785f28f20ec8a138
parent191b3f3344ee8ae22b5e8caa6cf36266e76f5619
tools/libxc: Set HVM_PARAM_CONSOLE_EVTCHN during restore

When resuming, the guest needs to check whether the port has changed. HVM
guests use this parameter to get the port number.

(We can't always use xenstore where this value is also written: for example
on Linux the console is resumed very early, before the store is up).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_domain_restore.c